package hcn.protocol.ods.card;

import hcn.protocol.registration.MsgHeader;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @Date 2020/11/24 15:11
 * @Description:
 * 黑名单信息查询
 * @Version 1.0
 */
@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class BlackpatientInfoResp {
    private MsgHeader MsgHeader;
    private MsgBody MsgBody;

    public MsgHeader getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeader msgHeader) {
        MsgHeader = msgHeader;
    }

    public BlackpatientInfoResp.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(BlackpatientInfoResp.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private Data Data;

        public String getStatus() {
            return Status;
        }

        public void setStatus(String status) {
            Status = status;
        }

        public String getCode() {
            return Code;
        }

        public void setCode(String code) {
            Code = code;
        }

        public String getDetail() {
            return Detail;
        }

        public void setDetail(String detail) {
            Detail = detail;
        }

        public Data getData() {
            return Data;
        }

        public void setData(Data data) {
            Data = data;
        }


        @XmlRootElement(name = "Data")
        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{
            private BlackPatient BlackPatient;

            public BlackpatientInfoResp.MsgBody.Data.BlackPatient getBlackPatient() {
                return BlackPatient;
            }

            public void setBlackPatient(BlackpatientInfoResp.MsgBody.Data.BlackPatient blackPatient) {
                BlackPatient = blackPatient;
            }

            @XmlRootElement(name = "BlackPatient")
            @XmlAccessorType(XmlAccessType.FIELD)
            public static class BlackPatient{
                private String BlackPatientFlag;
                private String WarnInfo;
                private String ArrearageCash;
                private String RestrictDay;
                private String RestrictType;

                public String getBlackPatientFlag() {
                    return BlackPatientFlag;
                }

                public void setBlackPatientFlag(String blackPatientFlag) {
                    BlackPatientFlag = blackPatientFlag;
                }

                public String getWarnInfo() {
                    return WarnInfo;
                }

                public void setWarnInfo(String warnInfo) {
                    WarnInfo = warnInfo;
                }

                public String getArrearageCash() {
                    return ArrearageCash;
                }

                public void setArrearageCash(String arrearageCash) {
                    ArrearageCash = arrearageCash;
                }

                public String getRestrictDay() {
                    return RestrictDay;
                }

                public void setRestrictDay(String restrictDay) {
                    RestrictDay = restrictDay;
                }

                public String getRestrictType() {
                    return RestrictType;
                }

                public void setRestrictType(String restrictType) {
                    RestrictType = restrictType;
                }
            }
        }
    }









}
